You are here: Commerce Manager > System Administration > System Settings > Publishing a Contract

Publishing a Contract

Another feature of Business Foundation is the ability to publish objects within the left navigation frame as a node. You can essentially add more functionality to a specific system without modifying code.

Now that the Contract object has been created and related to another object, you can publish it as a node.

To publish a business object, click on Publish under the Business Object Customization form.

A new window will pop up for publication settings.

  1. Select a Display Region from the navigation three on the left. Click on the node you want Contract to be placed under. For example, Contract will be placed on the root level of Customer Management.
  2. The Display Text defaults to the system name of the Business Object. You can choose to keep the name or change it.
  3. The Display Order defaults to 10000. You can keep it at that number or change the value to determine the position of the node.
  4. The Client Script is autopopulated and can be left as is for most users. However, you can change Client Script if necessary.
  5. Access Permissions is autopopulated and can also be left as is. If you want to change Access Permissions, refer to the Permissions section.
  6. An Item Icon can be uploaded to represent the node. Click Browse to upload an icon.
  7. Once all relevant information is entered, click on Publish.

To verify if the object was published, go to the Display Region where you specified the object to be published to. Click on the refresh icon on the left navigation frame if you at first do not see the new node.

Always refresh your browser after publishing a business object.

Adding Contracts to an Organization

Now that the contract business object has been published, you can add multiple contracts to a single organization using a form. Click on the Contract node to bring up the list of contracts. Click on New to add a new contract.

Enter a Contract Name (friendly name of the contract object) and select an Organization from the dropdown menu to associate the contract with. This functionality is in harmony with the "N:1" relationship between contract and organization.

Click OK to save the contract. The View Form appears.

To learn how to edit forms, go to the Customizing and Existing Form section.

You can make further edits to the details of the Contract by clicking Edit or delete the entry. Otherwise, click on Back to list to go back to the list of contracts.

By going to the Organization Info page for the particular organization you assigned multiple contracts to, you will see the list contracts you assigned.

You may need to make sure the Display Region is set for the related object (i.e. organization) or else you will not see the business object in the Edit Form.

 


Version: EPiServer Commerce 1 R2 SP2| Last updated: 2012-09-20 | Copyright © EPiServer AB | Send feedback to us